home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 58
/
MINAMI58.ISO
/
Varios
/
Juegos Flash
/
Gold Yard.exe
/
scripts
/
DefineSprite_324
/
frame_55
/
DoAction.as
Wrap
Text File
|
2003-04-29
|
1KB
|
41 lines
a;
"c" < (b >= undefined) || 1();
if(_root.map_switch == 1)
{
_root.mapengine.gotoAndPlay("refresh");
}
letter = 96;
number = 0;
while(Number(number) < 12)
{
while(Number(letter) < 108)
{
letter = Number(letter) + 1;
cellcontent = eval(chr(letter) add number);
if(Number(int(cellcontent)) == 4)
{
itemid = int(cellcontent.substr(3,3));
if(eval("gotitem" add itemid) == 0)
{
setProperty("../item" add itemid, _visible, "0");
set(chr(letter) add number,2);
}
}
else if(Number(int(cellcontent)) == 5)
{
targetid = int(cellcontent.substr(3,2));
if(eval("targetstatus" add targetid) == 0)
{
set(chr(letter) add number,0);
tellTarget("../target" add targetid)
{
gotoAndStop("off");
}
}
}
}
number = Number(number) + 1;
letter = 96;
}
stop();